package com.yingside.system.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yingside
 * @since 2020-12-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Operator extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 菜单 ID
     */
    @TableId(value = "operator_id", type = IdType.AUTO)
    private Integer operatorId;

    /**
     * 所属菜单 ID
     */
    private Integer menuId;

    /**
     * 资源名称
     */
    private String operatorName;

    /**
     * 资源 URL
     */
    private String url;

    /**
     * 权限标识符
     */
    private String perms;

    /**
     * 资源需要的 HTTP 请求方法
     */
    private String httpMethod;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime modifyTime;


}
